package edu.uni.dormitory.globalbean;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;

import java.util.Date;

/**
 * @author :kuexun
 * @create : 2019/5/28 9:16
 */
public class StudentBedClassExcelDetailModel extends BaseRowModel{
    @ExcelProperty(value = "ID",index = 0)
    //数据表唯一ID
    private Long id;

    @ExcelProperty(value = "姓名",index = 1)
    private String userName; //用户名、学生名

    @ExcelProperty(value = "学号",index = 2)
    private String stuNo;// 学号
    @ExcelProperty(value = "性别",index = 3)
    private String Sex;//中文性别
    @ExcelProperty(value = "学院",index = 4)
    private String departmentName;//学院
    @ExcelProperty(value = "班级",index = 5)
    private String  className;//班级

    @ExcelProperty(value = "宿舍区",index = 6)
    private String areaName;//宿舍区名称

    @ExcelProperty(value = "宿舍房间号",index = 7)
    private Integer room;//宿舍房间号

    //床位编号
    @ExcelProperty(value = "床位编号",index = 8)
    private String number;

    //离开时间
    @ExcelProperty(value = "离开时间",index = 9)
    private Date leaveDate;
    //入住时间
    @ExcelProperty(value = "入住时间",index = 10)
    private Date liveDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getStuNo() {
        return stuNo;
    }

    public void setStuNo(String stuNo) {
        this.stuNo = stuNo;
    }

    public String getSex() {
        return Sex;
    }

    public void setSex(String sex) {
        Sex = sex;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Integer getRoom() {
        return room;
    }

    public void setRoom(Integer room) {
        this.room = room;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Date getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(Date leaveDate) {
        this.leaveDate = leaveDate;
    }

    public Date getLiveDate() {
        return liveDate;
    }

    public void setLiveDate(Date liveDate) {
        this.liveDate = liveDate;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
}
